import { createApp } from "vue";
import App from './App.vue'
import router from "@/router";
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import '@/common/style/global.scss'
import store from '@/common/vuex.js'//全局仓储
import https from '@/common/https.js' //http请求
import global from '@/common/global.js' //全局方法
import echarts from 'echarts'

const app = createApp(App);
app.use(router);
app.use(Antd);

app.config.globalProperties.$echarts = echarts
app.config.globalProperties.$http = https;
app.config.globalProperties.$global = global;
app.config.globalProperties.$store = store;
app.config.productionTip = false

app.mount("#app");
